package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_bfl_course")
public class BhyfBflCourse implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer type;

    private String name;

    private Date starttime;

    private Date endtime;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    private Date lastmodified;

    private Integer gardenid;

    private Integer gradenum;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLastmodified() {
        return lastmodified;
    }

    public void setLastmodified(Date lastmodified) {
        this.lastmodified = lastmodified;
    }

    public Integer getGardenid() {
        return gardenid;
    }

    public void setGardenid(Integer gardenid) {
        this.gardenid = gardenid;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    @Override
    public String toString() {
        return "BhyfBflCourse{" +
                "id=" + id +
                ", type=" + type +
                ", name=" + name +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", createtime=" + createtime +
                ", lastmodified=" + lastmodified +
                ", gardenid=" + gardenid +
                ", gradenum=" + gradenum +
                "}";
    }
}
